package com.tfh.strategy;

import java.math.BigDecimal;
import java.util.List;
import java.util.stream.Collectors;

public abstract class Cups {
    public List<Cup> cups;

    public Cups(List<BigDecimal> waters) {
        this.cups = waters.stream().map(Cup::new).collect(Collectors.toList());
    }

    abstract public List<Cup> fill(BigDecimal capacity);
}
